<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>文档标题</title>
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
    <form action="http://localhost:8080/api" method="post" enctype="multipart/form-data">
        <label for="">用户名</label>
        <input type="text" name="user"> <br>
        <label for="">年龄</label>
        <input type="text" name="age"> <br>
        <label for="">请选择文件</label>
        <input type="file" name="f1"> <br>
        <input type="submit" value="提交">
    </form>
</body>
</html>